<form method="post" action="" class="pageForm required-validate">
    <div class="pageContent">
        <div class="pageFormContent">
            <fieldset>
                <dl>
                    <dt><@label key='workCenterCode.C,colon'>工作中心：</@label></dt>
                    <dd>
                        <input type="text" name="workCenterCode" value="${productionOperation.workCenterCode!''}" readonly="readonly" />
                    </dd>
                </dl>
                <dl>
                    <dt><@label key='productionControlNum.C,colon'>生产管理号：</@label></dt>
                    <dd>
                        <input type="text" name="productionControlNum" value="${productionOperation.productionControlNum!''}" readonly="readonly" />
                    </dd>
                </dl>
                <dl>
                    <dt><@label key='materialCode.C,colon'>物料编号：</@label></dt>
                    <dd>
                        <input name="materialCode" value="" type="hidden" /> <input name="materialCode" type="text" postField="componentText" value="${productionOperation.materialCode!''}" readonly="readonly" />
                    </dd>
                </dl>
                <dl>
                    <dt><@label key="cmprocess_code.C,colon">工艺编号：</@label></dt>
                    <dd>
                        <input name="processCode" type="text" value="${productionOperation.processCode!''}" readonly="readonly" />
                    </dd>
                </dl>
                <dl>
                    <dt><@label key='operation.C,colon'>工序：</@label></dt>
                    <dd>
                        <input name="operation" type="text" value="${productionOperation.operation!''}" readonly="readonly" />
                    </dd>
                </dl>
                <dl>
                    <dt><@label key='plannedQuantity.C,colon'>计划数量</@label></dt>
                    <dd>
                        <input type="text" name="plannedQuantity" class=number" readonly="readonly" value="${productionOperation.plannedQuantity!''}" />
                    </dd>
                </dl>
                <dl>
                    <dt><@label key='completedQuantity.C,colon'>完工数量：</@label></dt>
                    <dd>
                        <input type="text" name="completedQuantity" class=" number" readonly="readonly" value="${productionOperation.completedQuantity!''}" />
                    </dd>
                </dl>
                <dl>
                    <dt><@label key='scrappedQuantity.C,colon'>报废数量：</@label></dt>
                    <dd>
                        <input type="text" name="scrappedQuantity" class="number" readonly="readonly" value="${productionOperation.scrappedQuantity!''}" />
                    </dd>
                </dl>
                <dl>
                    <dt><@label key='repairQuantity.C,colon'>返修数量：</@label></dt>
                    <dd>
                        <input type="text" name="repairQuantity" class=" number" readonly="readonly" value="${productionOperation.repairQuantity!''}" />
                    </dd>
                </dl>
                <dl>
                    <dt>投产时间：</dt>
                    <dd>
                        <input type="text" name="createDate" readonly="readonly" value="${productionOperation.createDate?string('yyyy-MM-dd HH:mm:ss')}" />
                    </dd>
                </dl>
            </fieldset>
            <div class="tabs">
                <div class="tabsHeader">
                    <div class="tabsHeaderContent">
                        <ul>
                            <li id="component" data-selectedid="productionControl" class="exerInputS"><a href="javascript:;" id="select2"><span>报工详情</span></a></li>
                        </ul>
                    </div>
                </div>
                <div class="tabsContent" style="height:180px">
                    <div>
                        <table class="table border" width="100%" layoutH="410">
                            <thead>
                                <tr>
                                    <th width="40"><@label key="serialNumber.C">序号</@label></th>
                                    <th width="100"><@label key="confirmDateTime.C">报工日期</@label></th>
                                    <th width="100"><@label key="confirmUser.C">报工人</@label></th>
                                    <th width="80"><@label key='completedQuantity.C'>完工数量</@label></th>
                                    <th width="80"><@label key='scrappedQuantity.C'>报废数量</@label></th>
                                    <th width="80"><@label key='repairQuantity.C'>返修数量</@label></th>
                                </tr>
                            </thead>
                            <tbody>
                                <#if confirms??><#if (confirms?size>0 )>
                                <#list confirms as confirm>
                                <tr>
                                    <td>${confirm_index + 1}</td>
                                    <td>${(confirm.confirmDateTime?string("yyyy-MM-dd HH:mm:ss"))?if_exists}</td>
                                    <td>${confirm.confirmUser!''}</td>
                                    <td>${confirm.completedQuantity!''}</td>
                                    <td>${confirm.scrappedQuantity!''}</td>
                                    <td>${confirm.repairQuantity!''}</td>
                                </tr>
                                </#list>
                                </#if>
                                <#else>
                                <tr>
                                    <td colspan="11" class="noData">======<@label key='noListData.C'>列表无数据</@label>=====</font></td>
                                </tr>
                                </#if>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="tabsFooter">
                    <div class="tabsFooterContent"></div>
                </div>
            </div>
        </div>
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="button" class="close">关闭</button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>

    </div>
</form>
